import QtQuick 2.0

Item{

    property var  target
    property alias _out: _out
    property alias _in: _in

    Transition {
        id:_out
        PropertyAnimation {
            target: target
            property: "opacity"
            from: 1
            to: 0
            duration:1000
        }
    }

    Transition {
        id:_in
        PropertyAnimation {
            target: target
            property: "opacity"
            from: 0
            to: 1
            duration:1000
        }
    }
}
